package com.qyer.lxp.model.product.parameter;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

/**
 * Created by jiangping on 16/5/18.
 */
@XmlRootElement(name = "pick-drop-request")
@XmlAccessorType(XmlAccessType.FIELD)
public class PickOrDropRequest implements Serializable{
    private static final long serialVersionUID = 5291618186183388451L;

    /**
     * 产品 code
     */
    @XmlElementWrapper(name = "product-codes")
    @XmlElement(name = "product-code")
    private List<String> productCode;

    public List<String> getProductCode() {
        return productCode;
    }

    public void setProductCode(List<String> productCode) {
        this.productCode = productCode;
    }

    @Override
    public String toString() {
        return "PickOrDropRequest{" +
                "productCode=" + productCode +
                '}';
    }
}
